<%@ Page Title="Confirm Deletion" Language="C#" MasterPageFile="~/Views/Shared/Employee.Master" Inherits="System.Web.Mvc.ViewPage<DomainModel.Entities.Job>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	Confirm Deletion
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

    <h2>Confirm Deletion</h2>
    
       <div>
        <p>
            Please confirm that you want to delete job: 
            <i><%= Html.Encode(Model.JobTitle) %></i>
        </p>
    </div>
    
    <p>
    <% using (Html.BeginForm()) {  %>
    <%= Html.ActionLink("Confirm", "Delete_POST", new { jobID = (int)Model.JobID, storeID = (int)TempData["store"] }) %>  |  
    <%= Html.ActionLink("Cancel", "Index", new { storeID = (int)TempData["store"] })%>
    <% } %>
    </p>

</asp:Content>
